package com.infore.statisticsAndAlarm.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.infore.statisticsAndAlarm.service.IWaterQualityMapService;
import com.infore.statisticsAndAlarm.util.ResultEntity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
/**
 * 
* Copyright: Copyright (c) 2020
* 
* @ClassName: WaterQualityMapController.java
* @Description: 顺德村级工业园水质专题图对接
* @date: 2020年3月4日 上午10:21:52
 */
@Api(value = "sdcjgyy管理接口", tags = { "sdcjgyy管理接口" })
@RestController
@RequestMapping("/waterQualityMap")
public class WaterQualityMapController {

	@Autowired
	private IWaterQualityMapService iWaterQualityMapService; 
	
	@ApiOperation(value = "水质专题图 ")
	@ApiImplicitParams({
		@ApiImplicitParam(value = "开始时间", name = "startTime", paramType = "query",required = true,dataType = "String"),
		@ApiImplicitParam(value = "结束时间", name = "endTime", paramType = "query",required = true,dataType = "String"),
		@ApiImplicitParam(name = "站点mn", value = "stationMns", paramType = "query", required = false, dataType = "String")})
	@GetMapping(value = "/query")
	public ResultEntity query(String startTime,String endTime,String stationMns) {
		return iWaterQualityMapService.query(startTime, endTime, stationMns);
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
